from multiprocessing import Process, Manager

def func(d, l):
    d[1] = '1'
    d['2'] = 2
    d[0.25] = None
    l.append(888)

if __name__ == '__main__':
    with Manager() as manager:
        d = manager.dict()
        l = manager.list()

        p = Process(target=func, args=(d, l))
        p.start()
        p.join()

        print(d)
        print(l)
